package com.example;

import lombok.extern.log4j.Log4j2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@Log4j2
@EnableScheduling //定时任务注解
@MapperScan(basePackages = "com.example.mapper") //mapper接口注解
@SpringBootApplication //启动类注解
public class DemoApplication {


    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
        log.info("============================== 启动完成 ==============================");
    }

}
